package com.heatup.apt.model.company;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 企业员工用户消费记录表
 *
 */
@TableName("company_staff_consume")
public class CompanyStaffConsume implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 企业订单id */
	@TableId
	private Long id;

	/** 企业员工ID */
	@TableField(value = "company_staff_id")
	private Long companyStaffId;

	/** 订单ID */
	@TableField(value = "order_id")
	private Integer orderId;

	/** 微信用户ID */
	@TableField(value = "user_id")
	private Integer userId;

	/** 订单状态 2已取消 4已完成 */
	@TableField(value = "order_status")
	private Integer orderStatus;

	/** 付款时间 */
	@TableField(value = "pay_time")
	private Date payTime;

	/** 取消时间 */
	@TableField(value = "cancel_time")
	private Date cancelTime;

	/** 消费(取消)金额 */
	private BigDecimal amount;

	/** 创建时间 */
	@TableField(value = "created_time")
	private Date createdTime;


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCompanyStaffId() {
		return this.companyStaffId;
	}

	public void setCompanyStaffId(Long companyStaffId) {
		this.companyStaffId = companyStaffId;
	}

	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getOrderStatus() {
		return this.orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Date getPayTime() {
		return this.payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Date getCancelTime() {
		return this.cancelTime;
	}

	public void setCancelTime(Date cancelTime) {
		this.cancelTime = cancelTime;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }
}
